def get_wuxiaoid(tab):
    wuxiaoid_list = []
    while True:
        tb = tab('.auxo-table-tbody')
        trs = tb.eles('t:tr')
        for tr in trs:
            if tr.s_eles('text=无效'):
                wuxiaoid_list.append(tr.attr('data-row-key'))
        next_button = tab.ele('@title=下一页')
        if next_button.attr('aria-disabled') == 'true':
            break
        next_button.click()
        tab.wait(5)
    return wuxiaoid_list
